package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Router;
import com.grad.why.studentsystem.domain.RouterExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RouterMapper {
    int countByExample(RouterExample example);

    int deleteByExample(RouterExample example);

    int deleteByPrimaryKey(Integer routerid);

    int insert(Router record);

    int insertSelective(Router record);

    List<Router> selectByExample(RouterExample example);

    Router selectByPrimaryKey(Integer routerid);

    int updateByExampleSelective(@Param("record") Router record, @Param("example") RouterExample example);

    int updateByExample(@Param("record") Router record, @Param("example") RouterExample example);

    int updateByPrimaryKeySelective(Router record);

    int updateByPrimaryKey(Router record);
}